package org.deltaset.secured.example;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

/**
 *
 * @author dmakariev
 */
@Entity
public class DeletableChild extends AbstractChild{
    
    @ManyToOne  
    private DeletableParent parent;

    public DeletableChild() {
    }

    public DeletableChild(String childName) {
        super(childName);
    }

    public DeletableParent getParent() {
        return parent;
    }

    public void setParent(DeletableParent parent) {
        this.parent = parent;
    }
    
    
    
}
